package Day29.lvp;

public class Client {
    public static void main(String[] args) {
        //定义一个士兵
        Solider xuSanDuo = new Solider();
        //配枪
        xuSanDuo.setGun(new Handgan());
        xuSanDuo.killEnemy();
    }
}
